﻿using System;
using System.Collections.Generic;
using System.Text;

namespace TRPOP.Controls
{
    /// <summary>
    /// FORM表单控件提交验证类型
    /// </summary>
    public enum enmFormControlValidationType
    {
        /// <summary>
        /// 
        /// </summary>
        Any = 0,
        /// <summary>
        ///  需要是数值
        /// </summary>
        N = 1,
        /// <summary>
        ///  需要是中文
        /// </summary>
        CN = 2,
        /// <summary>
        /// 需要是EMAIL
        /// </summary>
        Email = 3,
        /// <summary>
        /// 需要是英文
        /// </summary>
        EnKong = 4,
        /// <summary>
        /// 不能为空
        /// </summary>
        Valid = 5,
        /// <summary>
        /// 需要是网址
        /// </summary>
        Http = 6,
    }

    /// <summary>
    /// 值类型
    /// </summary>
    public enum EnumValueType
    {
        /// <summary>
        /// 
        /// </summary>
        None = 0,
        /// <summary>
        /// 字符串
        /// </summary>
        String = 1,
        /// <summary>
        /// 整型
        /// </summary>
        Int =2,
        /// <summary>
        /// 
        /// </summary>
        Decimal = 3,
        /// <summary>
        /// 
        /// </summary>
        DateTime = 4,
        /// <summary>
        /// 
        /// </summary>
        Date = 5,
        /// <summary>
        /// 
        /// </summary>
        Time = 6,
        /// <summary>
        /// 
        /// </summary>
        Search = 7,
        /// <summary>
        /// 
        /// </summary>
        Tel=8,
        /// <summary>
        /// 
        /// </summary>
        PostalCode= 9
    }
}
